﻿using System.Windows.Forms;
using GeoSketch2.Core;

namespace GeoSketch2.Archaeo
{
    /// <summary>
    /// The toolbar button for the benchmark insertion tool
    /// </summary>
    public partial class TBBBenchmark : BaseToolbarButton
    {
        #region Constructor
        /// <summary>
        /// The toolbar button for the comment tool
        /// </summary>
        public TBBBenchmark()
        {
            InitializeComponent();
            ToolTipText = "Benchmark";
        } 
        #endregion

        #region Properties
        /// <summary>
        /// Gets the tool assigned to the button
        /// </summary>
        protected override BaseTool Tool
        {
            get
            {
                return new TBenchmark((Viewport)DisplayBox.Viewport);
            }
        }
        #endregion
    }
}
